<BOUCLE_test_output_components(CONDITION){si #CONFIG{alohacart/output_composite_components}|=={on}}>

<BOUCLE_comp_arts(ECATALOGUE_COMPOSITES_ARTICLES){id_composite=#ID_ARTICLE}>
                 <BOUCLE_components(ARTICLES spip_ecatalogue_products){statut=publie}{id_article}>                
            <tr class="component">                
                    <td>
            [<a href="#URL_SITE_SPIP/IMG/(#LOGO_ARTICLE|fichier)" rel="gallery">                
                <img src="#URL_SITE_SPIP/IMG/[(#LOGO_ARTICLE|fichier)]" width="50" />
            </a>]
        </td>
        <td>#SKU</td>
        <td>
            <a target="_blank" href="#URL_ARTICLE">#TITRE</a>
        </td>									
        <td>
        
            <?php echo '[(#_comp_arts:QUANTITY)]'*'[(#PRODUCTS|table_valeur{#ENV{id_article}})]' ?>
                    <:alohacart:pcs:>
        </td>
        [(#CONFIG{alohacart/output_num_in_package_column}|?{
            <td>
            [(#SOLD_IN_PACKAGES|?{
                #NUM_IN_PACKAGE <:alohacart:pcs:>
            })]
            </td>
        })]
        <td></td><td></td><td></td>
        </tr>
            </BOUCLE_components>        
        </BOUCLE_comp_arts>
        
</BOUCLE_test_output_components>